package com.dsdl.chatapp.common.utils.socket;

import com.dsdl.chatapp.data.SocketMessage;

/**
 * Created by zzg on 2016/8/3.
 */
public class SocketPacket {
    /**
     * 是否是已经取消的消息数据包
     */
    private boolean canceled;

    private SocketMessage data;
    /**
     * 命令
     */
    private String command;

    public boolean isCanceled() {
        return canceled;
    }

    public void setCanceled(boolean canceled) {
        this.canceled = canceled;
    }

    public SocketMessage getData() {
        return data;
    }

    public void setData(SocketMessage data) {
        this.data = data;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }
}
